import zhreq from "@/api/axios-agr-social";
export default {
  queryPageByCondition(params) {
    return zhreq.post("/admin/noticeGrade/queryPageByCondition", params);
  },
  queryByCondition(params) {
    return zhreq.post("/admin/noticeGrade/queryByCondition", params);
  },
  add(params) {
    return zhreq.post("/admin/noticeGrade/add", params);
  },
  edit(params) {
    return zhreq.request('put', "/admin/noticeGrade/edit", params);
  },
  del(id) {
    return zhreq.request('delete', `/admin/noticeGrade/del?id=${id}`);
  },
};
